package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 微店资金流水导入VO
* </p>
*
* @author huangrensen
* @since 2024-06-18
*/
@Schema
@Data
public class WdFundFlowImportVo implements Serializable {
    @ExcelIgnore
    private Long storeId;
    @ExcelProperty(value = "时间")
    private String billTime;
    @ExcelProperty(value = "收支类型")
    private String payType;
    @ExcelProperty(value = "收入(元)")
    private String incomeAmount;
    @ExcelProperty(value = "账单类型")
    private String billType;
    @ExcelProperty(value = "余额")
    private String balanceAmount;
    @ExcelProperty(value = "交易摘要")
    private String remark;
    @ExcelProperty(value = "订单号")
    private String orderNo;

    @ExcelIgnore
    private String billMonth;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("时间", "billTime");
        map.put("收支类型", "payType");
        map.put("收入(元)", "incomeAmount");
        map.put("账单类型", "billType");
        map.put("余额", "balanceAmount");
        map.put("交易摘要", "remark");
        map.put("订单号", "orderNo");
        return map;
    }
}
